/home/estudydev/workspace/eStudy_svn/web/photogallery/edit.php File Reference

Go to the source code of this file.

Namespaces

namespace  eStudy::PhotoGallery

Enumerations

enum  PATH_TO_ROOT

Functions

if(!isset($post['postid'])) is_firstpost ($threadid, $postid)

Variables

 if (isset($_POST['Cancel']))
 $gSettings = new GallerySettings()
 $newpost ['posttext'] = (isset($_POST['newpost']) ? $_POST['newpost']['posttext'] : '')
 $picquoteedit = ""
 $navpath = 'Bildeintrag editieren'
if($g_user['userID']==0)
errormessage("Fehler"Nur
registrierte eingeloggte
Benutzer k & 
ouml
nnen Beitr & auml
ge editieren
 if ($thread['threadclosed']==1) if(!$P->has_permission(P_EDITCLOSED)) errormessage('Fehler'
 $r_post = forum_query("SELECT postid, posttext, userID, threadid, postcode, postsmilies, posttime, postfilename, postfilesavename, postfilesize FROM forum_post WHERE postid='$post[postid]'")
 $post = mysql_fetch_array($r_post)
 $post ['threadtopic'] = Data::toHTML($thread['threadtopic'], false)
 $post ['posttext'] = Data::toHTML($post['posttext'], false)
 $firstpost = is_firstpost($thread['threadid'], $post['postid'])
 $r_author = forum_query("SELECT userid FROM forum_thread WHERE threadid = $post[threadid]")
if($author['userid']==$_SESSION['userid']||$_SESSION['usergroup']==1||($_SESSION['usergroup']==3
&&$_SESSION["course"] > 0)) if($P->
has_permission(P_EDITTOPIC))
else 
$post ['printtopic'] = $post['threadtopic']


Enumeration Type Documentation

relativer Pfad zum Root des Portals

Definition at line 52 of file edit.php.


Function Documentation

if (!isset($post['postid'])) is_firstpost ( threadid,
postid 
)

Parameters:
$threadid 
$postid 
Returns:
unknown_type

HTML-Fuss und unteres Menue

HTML-Fuss und unteres Menue

Definition at line 81 of file edit.php.


Variable Documentation

$firstpost = is_firstpost($thread['threadid'], $post['postid'])

Definition at line 105 of file edit.php.

$gSettings = new GallerySettings()

Einbinden der Settings Funktionen Konfigurationsdatei TinyMCE

Definition at line 66 of file edit.php.

$navpath = 'Bildeintrag editieren'

Definition at line 95 of file edit.php.

$newpost['posttext'] = (isset($_POST['newpost']) ? $_POST['newpost']['posttext'] : '')

Definition at line 88 of file edit.php.

$picquoteedit = ""

Definition at line 92 of file edit.php.

if ($author['userid']==$_SESSION['userid']||$_SESSION['usergroup']==1||($_SESSION['usergroup']==3 &&$_SESSION["course"] > 0)) if($P->has_permission(P_EDITTOPIC)) else $post['printtopic'] = $post['threadtopic']

Definition at line 116 of file edit.php.

$post['posttext'] = Data::toHTML($post['posttext'], false)

Definition at line 104 of file edit.php.

$post['threadtopic'] = Data::toHTML($thread['threadtopic'], false)

Definition at line 103 of file edit.php.

$post = mysql_fetch_array($r_post)

Definition at line 102 of file edit.php.

$r_author = forum_query("SELECT userid FROM forum_thread WHERE threadid = $post[threadid]")

Definition at line 108 of file edit.php.

$r_post = forum_query("SELECT postid, posttext, userID, threadid, postcode, postsmilies, posttime, postfilename, postfilesavename, postfilesize FROM forum_post WHERE postid='$post[postid]'")

Definition at line 101 of file edit.php.

nnen Beitr& auml

Definition at line 97 of file edit.php.

Definition at line 97 of file edit.php.

if($thread['threadclosed']==1) if(!$P->has_permission(P_EDITCLOSED)) errormessage('Fehler'

Definition at line 98 of file edit.php.

if(isset($_POST['Cancel']))

Initialisierungsdatei (Einstellungen, Einbindung von Klassen, Session-Start) Ausgabe des HTML-Kopfes und der Menues

Definition at line 55 of file edit.php.

if ($g_user['userID']==0) errormessage("Fehler" Nur registrierte eingeloggte Benutzer k& ouml

Definition at line 97 of file edit.php.


Generated on Tue Nov 3 21:42:28 2009 for eStudy Foto Forum by  doxygen 1.5.8